from app import serializer
from common.models.users import User


class UserBodySerializer(serializer.SQLAlchemySchema):
    class Meta:
        model = User
        fields = "__all__"


class UserLoginQureySerializer(serializer.SQLAlchemySchema):
    class Meta:
        model = User
        fields = ["username", "password"]
